﻿using Autofac.Extras.DynamicProxy;
using MDT.LifeSewagePlatform.Conmmon;
using MDT.LifeSewagePlatform.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.InterfaceService
{
    [Intercept(typeof(CustomAutofacAop))]
    public interface ICompanyService
    {
        public  Task<BaseMessage> Add(AddCompany Company, int ID);
       
        public  Task<BaseMessage> Update(UpdateCompany Company, int UserID);
       

        public  Task<DataMessage<CompanyView>> GetCompanys(CompanyParameter Params);
       

        public  Task<BaseMessage> Delete(int id, int UserID);
      

        public  Task<DataMessage> GetCitysByCompany(int id);

        public  Task<BaseMessage> GetAreasByCompany(int Id);

        public Task<BaseMessage> GetCompanyList(CompanyParameter Params);
    }
}
